/*
package com.weiyan.fegin;

import com.weiyan.domian.Product;
import com.weiyan.fegin.impl.ProductServerFallBackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

*/
/**
 * @author misterWei
 * @create 2020年02月21号:15点14分
 * @mailbox mynameisweiyan@gmail.com
 *//*

@FeignClient(value = "service-product",
          */
/*fallback = ProductServerImpl.class,*//*

        fallbackFactory = ProductServerFallBackFactory.class)
public interface ProductServer {
    */
/**
     * 查询产品详情
     * @param pid
     * @return
     *//*

    @RequestMapping(value = "product/findByPid/{pid}",method = RequestMethod.GET)
     Product findByPid(@PathVariable(value = "pid") Integer pid);

    @RequestMapping(value = "product/decrement/{pid}",method = RequestMethod.GET)
     void decrement(@PathVariable(value = "pid") Integer pid);



}
*/
